<?php

namespace App\Models\Traits;

use App\Models\Chapter;
use App\Models\Player;
use App\Models\Season;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

trait BelongsToPlayer
{
    public function season(): BelongsTo
    {
        return $this->belongsTo(Season::class);
    }

    public function chapter(): BelongsTo
    {
        return $this->belongsTo(Chapter::class);
    }

    public function player(): BelongsTo
    {
        return $this->belongsTo(Player::class);
    }
}
